What is the difference between the frame and the bounds in iOS? Sunil Singh354212-Jan-2017iosiphone ios iphone sdk uiview Updated on 20-Sep-2020
Sunil Singh
12-Jan-2017Frame:The frame of an UIView is the rectangle, expressed as a location (x,y) and size (width,height) relative to the superview it is contained within.
Bounds:The bounds of an UIView is the rectangle, expressed as a location (x,y) and size (width,height) relative to its own coordinate system (0,0).